package ${package.Mapper};

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import ${package.Controller}.vo.request.${entity}PageRequest;
import ${package.Entity}.${entity};
<#if table.name?contains("_n_") || table.name?contains("_m_")>import ${package.Entity}.${entity};
    import java.util.List;
</#if >

import com.baomidou.mybatisplus.core.mapper.BaseMapper;


/**
* <p>
    * ${table.comment!} Mapper 接口
    * </p>
*
* @author liangyiming
* @since ${date}
*/
public interface ${entity}Mapper extends BaseMapper<${entity}> {

<#if !table.name?contains("_n_") && !table.name?contains("_m_")>
    Page<${entity}> queryPage(${entity}PageRequest pageRequest);
<#else>
    Page<${entity}> queryPage(${entity}PageRequest pageRequest);
        List<${entity}> queryList(${entity} model);
</#if>
}